﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebInstagram.ViewModels
{
    public class PhotoView
    {
        public int Id { get; set; }
        public byte[] Image { get; set; }

        public string User { get; set; } //author name

        public string Title { get; set; }
        public DateTime Created { get; set; }
        public string Location { get; set; }
        public List<CommentView> Comments { get; set; }
        public List<LikeView> Likes { get; set; }
    }
}